﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:local="clr-namespace:SpaceNeedle.x6473.WindowsPhone.Common"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:tk="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:toolkitPrimitives="clr-namespace:Microsoft.Phone.Controls.Primitives;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:converters="clr-namespace:SpaceNeedle.x6473.WindowsPhone.Converters"
    xmlns:sdkconverters="clr-namespace:SpaceNeedle.SDK.WindowsPhone.Converters;assembly=SpaceNeedle.SDK.WindowsPhone"
    xmlns:common="clr-namespace:SpaceNeedle.x6473.WindowsPhone.Common"
    mc:Ignorable="d">

    <common:MultiResImageChooser x:Key="MultiResImageChooser"/>
    <common:TimeOfTheDayImageChooser x:Key="TimeOfTheDayImageChooser"/>
    <common:PhoneImageChooser x:Key="PhoneImageChooser"/>

    <sdkconverters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
    <sdkconverters:InvertedBooleanToVisibilityConverter x:Key="InvertedBooleanToVisibilityConverter" />
    <converters:TransferStatusToStringConverter x:Key="TransferStatusToStringConverter" />
    <converters:RequestItemStatusToStringConverter x:Key="RequestItemStatusToStringConverter" />
    <converters:IEnumerableCountToVisibilityConverter x:Key="IEnumerableCountToVisibilityConverter" />
    <converters:InverseIEnumerableCountToVisibilityConverter x:Key="InverseIEnumerableCountToVisibilityConverter" />
    

    <SolidColorBrush x:Key="ProgressBrush" Color="{StaticResource PhoneAccentColor}"/>
    
    <DataTemplate x:Key="TicketsListBox">
        <StackPanel Orientation="Vertical">
            <TextBlock Foreground="#FF7D8F9D" Text="{Binding Title}" Width="200" HorizontalAlignment="Left" Height="40" Margin="0,0,0,0" TextAlignment="Center" FontSize="25"/>
            <TextBlock Foreground="#FF7D8F9D" Text="{Binding Description}" Width="200" HorizontalAlignment="Left" Height="40" Margin="150,-40,0,0" TextAlignment="Right" FontSize="25" FontWeight="Bold"/>
        </StackPanel>
    </DataTemplate>

    <Style x:Key="ProgressStyle" TargetType="ProgressBar">
        <Setter Property="Foreground" Value="{StaticResource PhoneAccentColor}"/>
        <Setter Property="IsIndeterminate" Value="True"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>

</ResourceDictionary>